package com.baizhi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("book")
public class BookController {
    @RequestMapping("test")
    public String test(){
        System.out.println("控制器类中的test方法被执行了");
        return "test success";
    }


}
